<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<<<<<<< HEAD

<jsp:include page="/static/common/common_header.jsp"/>

=======
<jsp:include page="/static/common/common_header.jsp"/>
>>>>>>> 524224bf820c6d6da01f752551ee21b728709493
<script type="text/javascript" src="/static/js/employee.js"></script>
<html>
<head>
    <title>员工列表界面</title>
</head>
<body>
<!--初始化列表-->
<table id="emp_datagrid"></table>

<<<<<<< HEAD
<div id="emp_password_dialog">
    <form method="post" id="password_form">
        姓名:<input id="xingming" prompt="姓名" style="padding-left: 10px" readonly>
        修改密码:<input class="easyui-passwordbox" name="password" prompt="密码" style="padding-left: 10px">
    </form>

</div>
=======
>>>>>>> 524224bf820c6d6da01f752551ee21b728709493
<!-- 添加/编辑对话框 -->
<div id="emp_dialog">
    <form id="emp_form" method="post">
        <input type="hidden" name="id">
        <div style="padding-top: 30px; margin-bottom: 20px">
            <input class="easyui-textbox" style="width: 80%" name="userName"
                   data-options="label:'姓名',labelAlign:'right',labelWidth:100,
<<<<<<< HEAD
				 required:true"></input>
=======
				 required:true">
>>>>>>> 524224bf820c6d6da01f752551ee21b728709493
        </div>
        <div style="padding-top: 5px; margin-bottom: 20px">
            <input class="easyui-textbox" style="width: 80%" name="realName"
                   data-options="label:'真实姓名',labelAlign:'right',labelWidth:100,
<<<<<<< HEAD
				 required:true"></input>
=======
				 required:true">
>>>>>>> 524224bf820c6d6da01f752551ee21b728709493
        </div>
        <div style="margin-bottom: 20px">
            <input class="easyui-textbox" style="width: 80%" name="tel"
                   data-options="label:'电话号码',labelAlign:'right',labelWidth:100,
<<<<<<< HEAD
				 required:true"></input>
=======
				 required:true">
>>>>>>> 524224bf820c6d6da01f752551ee21b728709493
        </div>
        <div style="margin-bottom: 20px">
            <input class="easyui-textbox" style="width: 80%" name="email"
                   data-options="label:'邮箱',labelAlign:'right',labelWidth:100,
<<<<<<< HEAD
				 required:true"></input>
=======
				 required:true">
>>>>>>> 524224bf820c6d6da01f752551ee21b728709493
        </div>


        <div style="margin-bottom: 20px">
            <select class="easyui-combobox" name="dept.id" style="width: 80%"
                    data-options="
				label:'部门',
				labelAlign:'right',
				labelWidth:100,
				url:'/department/list',
				valueField:'id',
				textField:'name',
<<<<<<< HEAD
				panelHeight:'auto'">
                </select>
            </div>
            <div style="margin-bottom: 20px">
                <select id="combobox_role" class="easyui-combobox"  style="width: 80%"
                        data-options="
=======
				panelHeight:'auto'
				">
            </select>
        </div>
        <div style="margin-bottom: 20px">
            <select id="combobox_role" class="easyui-combobox" style="width: 80%"
                    data-options="
>>>>>>> 524224bf820c6d6da01f752551ee21b728709493
				label:'角色',
				labelAlign:'right',
				labelWidth:100,
				url:'/role/listAll',
				valueField:'id',
				textField:'name',
				panelHeight:'auto',
				multiple:true
				">
            </select>
        </div>
<<<<<<< HEAD


=======
>>>>>>> 524224bf820c6d6da01f752551ee21b728709493
    </form>

</div>
<!--工具栏-->
<div id="tb">
    <shiro:hasPermission name="employee:save">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="addEmp">添加</a>
    </shiro:hasPermission>
    <shiro:hasPermission name="employee:edit">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true " id="btn_edit"
           data-cmd="editEmp">编辑</a>
    </shiro:hasPermission>

    <shiro:hasPermission name="employee:quit">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" id="btn_quit"
           data-cmd="quitEmp">离职</a>
    </shiro:hasPermission>

    <shiro:hasPermission name="employee:list">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true"
           data-cmd="reloadEmp">刷新</a>
    </shiro:hasPermission>
    <shiro:hasPermission name="employee:exprot">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" data-cmd="exportEmp">导出数据</a>
    </shiro:hasPermission>
<<<<<<< HEAD
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" data-cmd="addPassword">修改密码</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" data-cmd="goWork">上班签到</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" data-cmd="backWork">下班签退</a>
=======
>>>>>>> 524224bf820c6d6da01f752551ee21b728709493
    &nbsp;&nbsp;&nbsp;
    <span>关键字</span>
    <input class="easyui-textbox" name="keyword" id="keyword">

    &nbsp;&nbsp;&nbsp;
    <span>开始时间</span>
    <input class="easyui-datebox" name="beginDate" id="beginDate">
    <span>结束时间</span>
    <input class="easyui-datebox" name="endDate" id="endDate">
    <a class="easyui-linkbutton" iconCls="icon-search" plain="true" data-cmd="searchEmp">查询</a>
</div>

<<<<<<< HEAD
<!--员工底部按钮-->
=======
<!--底部按钮-->
>>>>>>> 524224bf820c6d6da01f752551ee21b728709493
<div id="bb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" data-cmd="saveEmp">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancelEmp">取消</a>
</div>
<<<<<<< HEAD
<!--密码-->
<div id="mm">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" data-cmd="changePassword">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true"
       data-cmd="cancelPasswrod">取消</a>
</div>
=======
>>>>>>> 524224bf820c6d6da01f752551ee21b728709493


</body>
</html>
